#!/usr/bin/python

import random

def go_random():
	s = ""
	for i in range(5):
		s += str(random.random()) + ' '
	print s
	
	s = ''
	for i in range(20):
		s += str(random.randint(1,5)) + ' '
	print s
	
	rlist = ['foo','bar','gubun','lala','kaka']
	print rlist
	s = ''
	for i in range(10):
		s += random.choice(rlist) + ' '
	print s

print 'default seed = time or /dev/urandom'
go_random()

print 'seed 0'
random.seed(0)
go_random()
